createVideoOutstreamBanner

fun createVideoOutstreamBanner(configurationID: String, wrapper: ViewGroup, lifecycleCallbacks: <Error class: unknown class>? = null): Int

Create a video banner (OutStream) type ad inside of a wrapper. Video banner (OutStream) is a fixed size video ad. First we cache the ad, load it and when it loads we display it in wrapper cleans the wrapper from all the views that it might have and creates a video banner inside it

Return

Int the id of the video banner for the factory to manage it

Parameters

configurationID

id used to fetch the unit configuration

wrapper

the container of the video banner if it dies video banner will be invalidated and destroyed

lifecycleCallbacks

(optional) go to BannerEventListener to know when the callbacks are called